package com.vehicle_information_management_system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vehicle_information_management_system.pojo.DrivingCostInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;

/**
* @author huawei
* @description 针对表【driving_cost_info】的数据库操作Mapper
* @createDate 2025-02-17 10:08:19
* @Entity com.vehicle_information_management_system.pojo.DrivingCostInfo
*/
public interface DrivingCostInfoMapper extends BaseMapper<DrivingCostInfo> {

    IPage<DrivingCostInfo> getDrivingCostInfo(Page<DrivingCostInfo> page, @Param("ew")QueryWrapper<DrivingCostInfo> queryWrapper);

    void updateDrivingCostInfo(DrivingCostInfo drivingCostInfo);

    Double getMonthlyCostSum();
}




